#ifndef DOOR_H
#define DOOR_H

#include<string>
#include"Sensor.h"
#include<iostream>
#include"List.h"

using namespace std;

class Door{
private:
	int DId;
	string PassWord;
	int StressLvl;
	int InfraredLvl;
	bool IsClose;
    SensorStress DoStrssSensor;
	SensorInfrared DoInfraSensor;
	SensorOpenClose DoOpClSensor;
public:
	Door();
	Door(int &_DId, string &_PassWord, int &_StressLvl, int &_InfraredLvl, bool _IsClose = true);
	void DoorSimulation();
	void SetStressLvl(int &_StressLvl);
	void SetInfraredLvl(int &_InfraredLvl);
	void ChangePssWord(string &NewPssWord);
	void OpenDoor(string &InputData);
    void CloseDoor();
	List<Msg> GetMsg();
	bool operator ==(const Door &SampleDoor);
	bool operator !=(const Door &SampleDoor);
};
#endif